package com.cskaoyan.bean.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * @author Tang_XueCheng
 * @description mall配置的BO
 * @since 2022/04/06 17:05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ConfigMallBO {
    @NotBlank
    String market_mall_longitude;
    @NotBlank
    String market_mall_latitude;
    @NotBlank
    String market_mall_address;
    @NotBlank
    @Min(0)
    String market_mall_qq;
    @NotBlank
    @Length(min = 11, max = 11)
    @Min(11)
    String market_mall_phone;
    @NotBlank
    String market_mall_name;
}
